#ifndef CONVOLUTION_H
#define CONVOLUTION_H

#include <QWidget>
#include "ui_convolution.h"
#include "PBO.h"
#include "QTableView"
#include "QSpinBox"
#include "QPushButton"
#include "QStandardItemModel"
#include "QStandardItem"

class Convolution : public QWidget
{
	Q_OBJECT

public:
	Convolution(QWidget *parent, PBO* pbo);
	~Convolution();

private:
	void convert(bool pernam);

public Q_SLOTS:
	void runn();
	void updateSize(int i);
	void dataChanged(QStandardItem*);

private:
	QSpinBox* sizeBox;
	QTableView* table;
	QPushButton* buttonOK;
	Ui::Convolution ui;
	int sizee;
	PBO* pbo;
	
};

#endif // CONVOLUTION_H
